﻿{% extends "base.html" %}
{% block title %}Задание | WTD {% endblock title %}
{% block content %}
		{% ifequal tasks|length 0 %}
		<div class="no_cabs">Ничего не задали!</div>
	{% else %}
		<div class="tasks">
			{% for t in tasks %}
				<div class="description">
					<div class="hw_text">{{t.text}}</div>
					<div class="hw_date">С {{t.start_date}} до {{t.end_date}} ({{t.subject}})</div>
				</div>
				<hr/>
			{% endfor %}
		</div>
	{% endifequal %}
{% endblock content %}
